// 人力资源需求规划表 - 测试数据
// 直接的数据列表格式

const testData = [
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Permanent",
        "responsible": {
            "id": "emp001",
            "code": "12345",
            "name": "张三"
        },
        "1": 15,
        "2": 16,
        "3": 17,
        "4": 18,
        "5": 19,
        "6": 20,
        "7": 21,
        "8": 22,
        "9": 23,
        "10": 24,
        "11": 25,
        "12": 26
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Overtime",
        "responsible": {
            "id": "emp002",
            "code": "12346",
            "name": "李四"
        },
        "1": 5,
        "2": 6,
        "3": 7,
        "4": 8,
        "5": 9,
        "6": 10,
        "7": 11,
        "8": 12,
        "9": 13,
        "10": 14,
        "11": 15,
        "12": 16
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Temporary",
        "responsible": {
            "id": "emp003",
            "code": "12347",
            "name": "王五"
        },
        "1": 3,
        "2": 4,
        "3": 5,
        "4": 6,
        "5": 7,
        "6": 8,
        "7": 9,
        "8": 10,
        "9": 11,
        "10": 12,
        "11": 13,
        "12": 14
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Permanent",
        "responsible": {
            "id": "emp004",
            "code": "12348",
            "name": "赵六"
        },
        "1": 12,
        "2": 13,
        "3": 14,
        "4": 15,
        "5": 16,
        "6": 17,
        "7": 18,
        "8": 19,
        "9": 20,
        "10": 21,
        "11": 22,
        "12": 23
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Overtime",
        "responsible": {
            "id": "emp005",
            "code": "12349",
            "name": "孙七"
        },
        "1": 4,
        "2": 5,
        "3": 6,
        "4": 7,
        "5": 8,
        "6": 9,
        "7": 10,
        "8": 11,
        "9": 12,
        "10": 13,
        "11": 14,
        "12": 15
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Temporary",
        "responsible": {
            "id": "emp006",
            "code": "12350",
            "name": "周八"
        },
        "1": 2,
        "2": 3,
        "3": 4,
        "4": 5,
        "5": 6,
        "6": 7,
        "7": 8,
        "8": 9,
        "9": 10,
        "10": 11,
        "11": 12,
        "12": 13
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Permanent",
        "responsible": {
            "id": "emp007",
            "code": "12351",
            "name": "吴九"
        },
        "1": 25,
        "2": 26,
        "3": 27,
        "4": 28,
        "5": 29,
        "6": 30,
        "7": 31,
        "8": 32,
        "9": 33,
        "10": 34,
        "11": 35,
        "12": 36
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Overtime",
        "responsible": {
            "id": "emp008",
            "code": "12352",
            "name": "郑十"
        },
        "1": 8,
        "2": 9,
        "3": 10,
        "4": 11,
        "5": 12,
        "6": 13,
        "7": 14,
        "8": 15,
        "9": 16,
        "10": 17,
        "11": 18,
        "12": 19
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Temporary",
        "responsible": {
            "id": "emp009",
            "code": "12353",
            "name": "王十一"
        },
        "1": 6,
        "2": 7,
        "3": 8,
        "4": 9,
        "5": 10,
        "6": 11,
        "7": 12,
        "8": 13,
        "9": 14,
        "10": 15,
        "11": 16,
        "12": 17
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Permanent",
        "responsible": {
            "id": "emp010",
            "code": "12354",
            "name": "李四"
        },
        "1": 18,
        "2": 19,
        "3": 20,
        "4": 21,
        "5": 22,
        "6": 23,
        "7": 24,
        "8": 25,
        "9": 26,
        "10": 27,
        "11": 28,
        "12": 29
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Overtime",
        "responsible": {
            "id": "emp011",
            "code": "12355",
            "name": "李四"
        },
        "1": 7,
        "2": 8,
        "3": 9,
        "4": 10,
        "5": 11,
        "6": 12,
        "7": 13,
        "8": 14,
        "9": 15,
        "10": 16,
        "11": 17,
        "12": 18
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Temporary",
        "responsible": {
            "id": "emp012",
            "code": "12356",
            "name": "李四"
        },
        "1": 4,
        "2": 5,
        "3": 6,
        "4": 7,
        "5": 8,
        "6": 9,
        "7": 10,
        "8": 11,
        "9": 12,
        "10": 13,
        "11": 14,
        "12": 15
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Permanent",
        "responsible": {
            "id": "emp013",
            "code": "12357",
            "name": "李四"
        },
        "1": 14,
        "2": 15,
        "3": 16,
        "4": 17,
        "5": 18,
        "6": 19,
        "7": 20,
        "8": 21,
        "9": 22,
        "10": 23,
        "11": 24,
        "12": 25
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Overtime",
        "responsible": {
            "id": "emp014",
            "code": "12358",
            "name": "李四"
        },
        "1": 5,
        "2": 6,
        "3": 7,
        "4": 8,
        "5": 9,
        "6": 10,
        "7": 11,
        "8": 12,
        "9": 13,
        "10": 14,
        "11": 15,
        "12": 16
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Temporary",
        "responsible": {
            "id": "emp015",
            "code": "12359",
            "name": "李四"
        },
        "1": 3,
        "2": 4,
        "3": 5,
        "4": 6,
        "5": 7,
        "6": 8,
        "7": 9,
        "8": 10,
        "9": 11,
        "10": 12,
        "11": 13,
        "12": 14
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Permanent",
        "responsible": {
            "id": "emp016",
            "code": "12360",
            "name": "李四"
        },
        "1": 28,
        "2": 29,
        "3": 30,
        "4": 31,
        "5": 32,
        "6": 33,
        "7": 34,
        "8": 35,
        "9": 36,
        "10": 37,
        "11": 38,
        "12": 39
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Overtime",
        "responsible": {
            "id": "emp017",
            "code": "12361",
            "name": "李四"
        },
        "1": 10,
        "2": 11,
        "3": 12,
        "4": 13,
        "5": 14,
        "6": 15,
        "7": 16,
        "8": 17,
        "9": 18,
        "10": 19,
        "11": 20,
        "12": 21
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Temporary",
        "responsible": {
            "id": "emp018",
            "code": "12362",
            "name": "李四"
        },
        "1": 7,
        "2": 8,
        "3": 9,
        "4": 10,
        "5": 11,
        "6": 12,
        "7": 13,
        "8": 14,
        "9": 15,
        "10": 16,
        "11": 17,
        "12": 18
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Permanent",
        "responsible": {
            "id": "emp019",
            "code": "12363",
            "name": "王五"
        },
        "1": 20,
        "2": 21,
        "3": 22,
        "4": 23,
        "5": 24,
        "6": 25,
        "7": 26,
        "8": 27,
        "9": 28,
        "10": 29,
        "11": 30,
        "12": 31
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Overtime",
        "responsible": {
            "id": "emp020",
            "code": "12364",
            "name": "王五"
        },
        "1": 8,
        "2": 9,
        "3": 10,
        "4": 11,
        "5": 12,
        "6": 13,
        "7": 14,
        "8": 15,
        "9": 16,
        "10": 17,
        "11": 18,
        "12": 19
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Temporary",
        "responsible": {
            "id": "emp021",
            "code": "12365",
            "name": "王五"
        },
        "1": 5,
        "2": 6,
        "3": 7,
        "4": 8,
        "5": 9,
        "6": 10,
        "7": 11,
        "8": 12,
        "9": 13,
        "10": 14,
        "11": 15,
        "12": 16
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Permanent",
        "responsible": {
            "id": "emp022",
            "code": "12366",
            "name": "王五"
        },
        "1": 16,
        "2": 17,
        "3": 18,
        "4": 19,
        "5": 20,
        "6": 21,
        "7": 22,
        "8": 23,
        "9": 24,
        "10": 25,
        "11": 26,
        "12": 27
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Overtime",
        "responsible": {
            "id": "emp023",
            "code": "12367",
            "name": "王五"
        },
        "1": 6,
        "2": 7,
        "3": 8,
        "4": 9,
        "5": 10,
        "6": 11,
        "7": 12,
        "8": 13,
        "9": 14,
        "10": 15,
        "11": 16,
        "12": 17
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Temporary",
        "responsible": {
            "id": "emp024",
            "code": "12368",
            "name": "王五"
        },
        "1": 4,
        "2": 5,
        "3": 6,
        "4": 7,
        "5": 8,
        "6": 9,
        "7": 10,
        "8": 11,
        "9": 12,
        "10": 13,
        "11": 14,
        "12": 15
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Permanent",
        "responsible": {
            "id": "emp025",
            "code": "12369",
            "name": "王五"
        },
        "1": 30,
        "2": 31,
        "3": 32,
        "4": 33,
        "5": 34,
        "6": 35,
        "7": 36,
        "8": 37,
        "9": 38,
        "10": 39,
        "11": 40,
        "12": 41
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Overtime",
        "responsible": {
            "id": "emp026",
            "code": "12370",
            "name": "王五"
        },
        "1": 12,
        "2": 13,
        "3": 14,
        "4": 15,
        "5": 16,
        "6": 17,
        "7": 18,
        "8": 19,
        "9": 20,
        "10": 21,
        "11": 22,
        "12": 23
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Temporary",
        "responsible": {
            "id": "emp027",
            "code": "12371",
            "name": "王五"
        },
        "1": 8,
        "2": 9,
        "3": 10,
        "4": 11,
        "5": 12,
        "6": 13,
        "7": 14,
        "8": 15,
        "9": 16,
        "10": 17,
        "11": 18,
        "12": 19
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Permanent",
        "responsible": {
            "id": "emp028",
            "code": "12372",
            "name": "赵六"
        },
        "1": 22,
        "2": 23,
        "3": 24,
        "4": 25,
        "5": 26,
        "6": 27,
        "7": 28,
        "8": 29,
        "9": 30,
        "10": 31,
        "11": 32,
        "12": 33
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Overtime",
        "responsible": {
            "id": "emp029",
            "code": "12373",
            "name": "赵六"
        },
        "1": 9,
        "2": 10,
        "3": 11,
        "4": 12,
        "5": 13,
        "6": 14,
        "7": 15,
        "8": 16,
        "9": 17,
        "10": 18,
        "11": 19,
        "12": 20
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "维修",
        "category": "Temporary",
        "responsible": {
            "id": "emp030",
            "code": "12374",
            "name": "赵六"
        },
        "1": 6,
        "2": 7,
        "3": 8,
        "4": 9,
        "5": 10,
        "6": 11,
        "7": 12,
        "8": 13,
        "9": 14,
        "10": 15,
        "11": 16,
        "12": 17
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Permanent",
        "responsible": {
            "id": "emp031",
            "code": "12375",
            "name": "赵六"
        },
        "1": 18,
        "2": 19,
        "3": 20,
        "4": 21,
        "5": 22,
        "6": 23,
        "7": 24,
        "8": 25,
        "9": 26,
        "10": 27,
        "11": 28,
        "12": 29
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Overtime",
        "responsible": {
            "id": "emp032",
            "code": "12376",
            "name": "赵六"
        },
        "1": 7,
        "2": 8,
        "3": 9,
        "4": 10,
        "5": 11,
        "6": 12,
        "7": 13,
        "8": 14,
        "9": 15,
        "10": 16,
        "11": 17,
        "12": 18
    },
    {
        "bu": {
            "id": "bu-pti-cp1",
            "name": "CP",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "质量",
        "category": "Temporary",
        "responsible": {
            "id": "emp033",
            "code": "12377",
            "name": "赵六"
        },
        "1": 5,
        "2": 6,
        "3": 7,
        "4": 8,
        "5": 9,
        "6": 10,
        "7": 11,
        "8": 12,
        "9": 13,
        "10": 14,
        "11": 15,
        "12": 16
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Permanent",
        "responsible": {
            "id": "emp034",
            "code": "12378",
            "name": "赵六"
        },
        "1": 32,
        "2": 33,
        "3": 34,
        "4": 35,
        "5": 36,
        "6": 37,
        "7": 38,
        "8": 39,
        "9": 40,
        "10": 41,
        "11": 42,
        "12": 43
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Overtime",
        "responsible": {
            "id": "emp035",
            "code": "12379",
            "name": "赵六"
        },
        "1": 14,
        "2": 15,
        "3": 16,
        "4": 17,
        "5": 18,
        "6": 19,
        "7": 20,
        "8": 21,
        "9": 22,
        "10": 23,
        "11": 24,
        "12": 25
    },
    {
        "bu": {
            "id": "bu-pti-cp2",
            "name": "CP2",
            "division": {
                "id": "div-pti",
                "name": "PTI"
            }
        },
        "function": "生产",
        "category": "Temporary",
        "responsible": {
            "id": "emp036",
            "code": "12380",
            "name": "赵六"
        },
        "1": 10,
        "2": 11,
        "3": 12,
        "4": 13,
        "5": 14,
        "6": 15,
        "7": 16,
        "8": 17,
        "9": 18,
        "10": 19,
        "11": 20,
        "12": 21
    }
];

// 导出测试数据
if (typeof module !== 'undefined' && module.exports) {
    module.exports = testData;
} else {
    window.testData = testData;
}

// 使用说明
console.log(`
测试数据说明：
1. 包含36条数据记录
2. 涵盖4个填报人的数据（张三、李四、王五、赵六）
3. 数据结构特点：
   - BU对象：包含id、name和division对象
   - Division对象：包含id和name
   - Function：功能部门（维修、质量、生产）
   - Category：人员类别（Permanent、Overtime、Temporary）
   - Responsible对象：包含id、code、name
   - 1-12月数据：直接作为记录属性
4. 数据按月份递增，便于观察趋势
5. 每个用户有9条记录（3个功能部门 × 3个类别）

使用方法：
1. 在浏览器控制台中运行：localStorage.setItem('hrTableData', JSON.stringify(testData));
2. 然后刷新相关页面即可看到测试数据
`); 